package soar.template.springboot.mq.alimq.consumer.appconfig.mysql;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component("appconfig.mysql")
@ConfigurationProperties("mysql")
public class MySQL
{
    public Config main;
    public Config log;

    public Config getMain()
    {
        return main;
    }

    public void setMain(Config main)
    {
        this.main = main;
    }

    public Config getLog()
    {
        return log;
    }

    public void setLog(Config log)
    {
        this.log = log;
    }
}
